#!/usr/bin/env bash
read -p "请输入你的email解析的域名,please input your email hostname:" hostname
firewall-cmd --zone=public --permanent --add-port=25/tcp
firewall-cmd --zone=public --permanent --add-port=110/tcp
yum install -y postfix openssl openssl-devel gcc gcc-g++
alternatives --config mta
hostnamectl set-hostname $hostname

